package com.xzg.apply.dao;

import com.xzg.apply.entity.Apply;
import com.xzg.common.vo.QueryCondition;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ApplyMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Apply record);

    int insertSelective(Apply record);

    Apply selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Apply record);

    int updateByPrimaryKey(Apply record);

    String findDistinct(Long missionId);

    int count(QueryCondition condition);

    List<Apply> selectByCondition(QueryCondition condition);

    void deleteByMissionId(Long missionId);

    List<Long> selectUserId(@Param("missionId") Long missionId, @Param("status") Byte status);
}